/**
 * @param {View} shell
 * @constructor
 * @extends {BaseMediator}
 */
function TwitterMediator(shell)
{
	"use strict";

	this.init(shell, '#twitter');

	/** @type {TwitterMediator} */
	var _this = this;
	/** @type {Boolean} */
	var _loaded = false;

	this.show = function()
	{
		if (!_loaded)
		{
			_this.content.tweet({
				username: "trailimage",
				join_text: "auto",
				count: 10,
				template: "{time}{join} {text}",
				loading_text: "loading tweets &hellip;"
			});

			_loaded = true;
		}
		_this.base.show.call(_this);
	};
}
TwitterMediator.inherit(BaseMediator);